package me.ratel.demo.wechat;

/**
 * @author Administrator
 * @time 2016/9/17 21:51
 */
public class WeChat {
    public static WeChatService newWeChat(String appId, String appSecret) {
        return newWeChat(appId, appSecret, null, null);
    }

    public static WeChatService newWeChat(String appId, String appSecret, String mchId, String apiKey) {
        return new RetryWeChatServiceImpl(WeChatServiceImpl.newWeChat(appId, appSecret, mchId, apiKey));
    }
}
